<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>注册</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="css/form.css" />
</head>

<body>
	<div id="style" class="form">
		<s:form name="registerform" method="post" action="register" namespace="/ra">
			<h1>注册</h1>
			<p>请填写你的注册信息</p>
			<label>用户名 <span class="small">请输入你的用户名</span> </label>
			<input required type="text" name="user.username" id=" name" />
			<label>密码 <span class="small">请输入你的密码</span> </label>
			<input required type="password" name="user.psw" id="psw" />
			<input type="submit" value="提交" class="button" />
			<div class="spacer"></div>
		</s:form>		
	</div>
</body>
</html>
